package cn.edu.hhu.service;

import cn.edu.hhu.Bean.Admin;
import cn.edu.hhu.Bean.Student;
import cn.edu.hhu.Bean.Teacher;

import java.util.List;

/**
 * @anthor: lddd
 * @date: 2020/5/17 - 9:03
 * @description:
 **/
public interface AdminService {

    public Admin login(Admin admin);

    public List<Student> queryAllStudent();

    List<Teacher> queryAllTeacher();

    boolean deleteTeacher(String tid);

    boolean deleteStudent(String sid);

    boolean modifyStudentPassword(String sid, String newPassword);

    boolean modifyTeacherPassword(String tid, String newPassword);

    boolean addSingleStudent(String sid, String sname);

    boolean addSingleTeacher(String tid, String tname);
}
